Tor Lillqvist [Sat, 7 Aug 2004 23:35:41 +0000 (23:35 +0000)]
Don't hardcode mapping of VK_DECIMAL to GDK_KP_Decimal. Instead, let
2004-08-07 Tor Lillqvist <tml@iki.fi>
* gdk/win32/gdkkeys-win32.c (update_keymap): Don't hardcode
mapping of VK_DECIMAL to GDK_KP_Decimal. Instead, let ToAsciiEx()
map it to what's printed on the keypad decimal key for the current
input locale (keyboard layout). (#149404)
Matthias Clasen [Sat, 7 Aug 2004 22:21:25 +0000 (22:21 +0000)]
Use GtkTreeViewRowSeparatorFunc instead of GtkCellRendererSepText.
Sat Aug 7 18:19:03 2004 Matthias Clasen <maclas@gmx.de>
* gtk/gtkfilechooserdefault.c (save_folder_combo_create):
(shortcuts_list_create): Use GtkTreeViewRowSeparatorFunc
instead of GtkCellRendererSepText. (#147864)
* gtk/gtkcellrendererseptext.[hc]: Removed.
* gtk/Makefile.am: Remove gtkcellrendererseptext.[hc]
Sat Aug 7 18:15:15 2004 Matthias Clasen <maclas@gmx.de>
* gtk/gtkcombobox.c (gtk_combo_box_menu_row_deleted):
(gtk_combo_box_menu_row_inserted):
(gtk_combo_box_menu_row_changed): Correctly handle
insertion and deletion of separators in menu mode.
Tor Lillqvist [Sat, 7 Aug 2004 21:46:28 +0000 (21:46 +0000)]
WM_WINDOWPOSCHANGED): Add _gdk_offset_{x,y} to top-level window
2004-08-07 Tor Lillqvist <tml@iki.fi>
* gdk/win32/gdkevents-win32.c (handle_configure_event,
gdk_event_translate:WM_WINDOWPOSCHANGED): Add _gdk_offset_{x,y} to
top-level window coordinates, not just in generated
events. (#148526, Robert Ögren)
Matthias Clasen [Sat, 7 Aug 2004 13:16:55 +0000 (13:16 +0000)]
Fix a typo
Matthias Clasen [Sat, 7 Aug 2004 05:28:43 +0000 (05:28 +0000)]
Make the column drag code a bit more robust (still scary, though).
Sat Aug 7 01:26:08 2004 Matthias Clasen <maclas@gmx.de>
Make the column drag code a bit more robust (still scary,
though). (#106992, Christian Biere)
* gtk/gtktreeview.c (_gtk_tree_view_column_start_drag): Assert
that cur_reorder is NULL here.
* gtk/gtktreeview.c (gtk_tree_view_button_release_drag_column):
Reset cur_reorder to NULL, and only hide drag_highlight_window
if it exists.
Federico Mena Quintero [Fri, 6 Aug 2004 19:25:25 +0000 (19:25 +0000)]
Fix #144232:
2004-08-06 Federico Mena Quintero <federico@ximian.com>
Fix #144232:
* gtk/gtkfilechooserdefault.c (save_widgets_create): Use a
GtkFileChooserEntry for the file name, rather than a GtkEntry.
(update_chooser_entry): Set the contents of the file chooser entry
rather than the plain entry's.
(gtk_file_chooser_default_set_current_folder): Set the new folder
on the save entry.
(gtk_file_chooser_default_set_current_name): Set the name on the
file chooser entry.
(check_save_entry): Use the file chooser entry rather than the
plain entry.
* gtk/gtkfilechooserentry.c
(_gtk_file_chooser_entry_set_base_folder): Call
gtk_file_chooser_entry_changed() so that we recompute the current
folder based on the new base folder.
Hans Breuer [Fri, 6 Aug 2004 19:20:42 +0000 (19:20 +0000)]
make it compile and more similar to the X11 implementation [backward
2004-08-06 Hans Breuer <hans@breuer.org>
* gdk/win32/gdkwindow-win32.c : make it compile and more
similar to the X11 implementation [backward compatibility
for GDK_WINDOW_TEMP, GDK_INPUT_ONLY (fixes bug #148702),
use the *screen* function variants, dont reparent already
destroyed]
(get_visible_region) : take the win32 part into account
(_gdk_windowing_window_destroy) : remove from handle table
* gdk/win32/gdkdisplay-win32.c : added
gdk_display_(request|supports)_selection_notification ()
with a currently mostly pointless implementation ;-)
* gtk/gtkfilesystemwin32.c (*_to_path) : same changes as on *NIX,
plugs memory leak
(gtk_file_system_win32_render_icon) : use new GTK_STOCK_DIRECTORY
* gtk/makefile.msc.in demos/gtk-demo/makefile.msc.in
gtk/stock-icons/makefile.msc tests/makefile.msc : updated
* gdk/gdk.def gtk/gtk.def : updated externals
* tests/testiconview.c : remove unneeded dirent.h inclusion
Hans Breuer [Fri, 6 Aug 2004 18:49:35 +0000 (18:49 +0000)]
updated
2004-08-06 Hans Breuer <hans@breuer.org>
* gdk_pixbuf.def makefile.msc : updated
Matthias Clasen [Fri, 6 Aug 2004 17:38:51 +0000 (17:38 +0000)]
Fix an off-by-one error. (#141809, Markku Vire)
* gtk/gtktreeview.c (gtk_tree_view_move_cursor_page_up_down): Fix
an off-by-one error. (#141809, Markku Vire)
Matthias Clasen [Fri, 6 Aug 2004 17:03:52 +0000 (17:03 +0000)]
Really fix the initialization of the target list.
2004-08-06 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkdnd.c (gtk_drag_dest_set, gtk_drag_source_set): Really
fix the initialization of the target list.
Support XDND v5. (#10220, Owen Taylor)
* gdk/x11/gdkdnd-x11.c: Record the XDND version and whether the
drop was successful in the GdkDragContextPrivateX11 struct.
(xdnd_finished_filter): Store the success status of the drop
for an XDND version 5 interaction. For other versions, always
assume the drop was successful.
(xdnd_check_dest): Return the protocol version.
(_gdk_drag_get_protocol_for_display): Return the protocol version.
(gdk_drag_find_window_for_screen): Store the used protocol version
in the GdkDragContext.
(xdnd_send_enter): Send the used protocol version from the context,
instead of hardwiring 3.
(xdnd_enter_filter): Accept protocol versions >= 3 and store the
used protocol version in the context.
* gdk/gdkdnd.h:
* gdk/x11/gdkdnd-x11.c (gdk_drag_drop_succeeded): New function
to find out whether a drop was successful.
Robert Ögren [Fri, 6 Aug 2004 01:56:22 +0000 (01:56 +0000)]
Set x_root and y_root in button and motion events from the tablet.
2004-07-28 Robert Ögren <gtk@roboros.com>
* gdk/win32/gdkinput-win32.c (_gdk_input_other_event): Set x_root
and y_root in button and motion events from the tablet. (#148715)
Ivan Stojmirov [Thu, 5 Aug 2004 20:54:51 +0000 (20:54 +0000)]
poznat prevod
Pablo Saratxaga [Thu, 5 Aug 2004 20:40:38 +0000 (20:40 +0000)]
updated Breton and Walloon files
Soeren Sandmann [Thu, 5 Aug 2004 17:58:20 +0000 (17:58 +0000)]
Call gdk_window_enable_synchronized_configure()
Thu Aug 5 19:58:08 2004 Soeren Sandmann <sandmann@daimi.au.dk>
* gtk/gtkplug.c (gtk_plug_realize): Call
gdk_window_enable_synchronized_configure()
* gdk/x11/gdkwindow-x11.c (gdk_window_configure_finished): Make
noop if gdk_window_enable_synchronized_configure() has not been
called.
Matthias Clasen [Wed, 4 Aug 2004 20:53:19 +0000 (20:53 +0000)]
Fix up previous commit.
Matthias Clasen [Wed, 4 Aug 2004 20:45:23 +0000 (20:45 +0000)]
Add setter and getter for the ::show-hidden property. (#145610, Jeff
2004-08-04 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkfilechooser.[hc]: Add setter and getter for the
::show-hidden property. (#145610, Jeff Franks)
Matthias Clasen [Wed, 4 Aug 2004 20:32:26 +0000 (20:32 +0000)]
Add buttons to select and unselect all nodes, make the popup menu actually
2004-08-04 Matthias Clasen <mclasen@redhat.com>
* tests/testiconview.c: Add buttons to select and unselect all
nodes, make the popup menu actually work.
* gtk/gtkiconview.c: Make GTK_SELECTION_BROWSE work as intended,
let button 3 presses through to the app, to make popup menus
work.
Matthias Clasen [Wed, 4 Aug 2004 14:32:45 +0000 (14:32 +0000)]
Add testiconview. A test for GtkIconView ...which uses this image.
2004-08-04 Matthias Clasen <mclasen@redhat.com>
* tests/Makefile.am: Add testiconview.
* tests/testiconview.c: A test for GtkIconView
* tests/gnome-textfile.png: ...which uses this image.
Matthias Clasen [Wed, 4 Aug 2004 05:38:58 +0000 (05:38 +0000)]
s/childs/children/g.
Wed Aug 4 01:37:57 2004 Matthias Clasen <maclas@gmx.de>
* gtk/gtktreeview.c:
* gtk/gtktreestore.c:
* gtk/gtktreemodelfilter.c:
* gtk/gtknotebook.c: s/childs/children/g.
Matthias Clasen [Wed, 4 Aug 2004 05:06:59 +0000 (05:06 +0000)]
Fix #133446, noticed by Christian Persch:
Wed Aug 4 01:04:48 2004 Matthias Clasen <maclas@gmx.de>
Fix #133446, noticed by Christian Persch:
* gtk/gtkaction.c (gtk_action_class_init): Add a new boolean
property ::visible-overflown.
* gtk/gtkaction.c (gtk_action_create_menu_proxy): Don't create
a menu proxy if visible_overflown is FALSE.
Matthias Clasen [Wed, 4 Aug 2004 00:19:25 +0000 (00:19 +0000)]
Make the the GtkAction{Toggle,Radio,}Entry* arguments to the
Tue Aug 3 20:16:26 2004 Matthias Clasen <maclas@gmx.de>
* gtk/gtkactiongroup.[hc]: Make the the GtkAction{Toggle,Radio,}Entry*
arguments to the gtk_action_group_add_..._actions() functions const,
since the most common use case is to use a static array. (142334,
Mariano Suarez-Alvarez)
Matthias Clasen [Wed, 4 Aug 2004 00:06:30 +0000 (00:06 +0000)]
Make gtk_ui_manager_add_ui() accept paths with a leading "/ui". (#149077,
Tue Aug 3 20:03:33 2004 Matthias Clasen <maclas@gmx.de>
* gtk/gtkuimanager.c (get_node): Make gtk_ui_manager_add_ui()
accept paths with a leading "/ui". (#149077, David Malcolm)
Matthias Clasen [Tue, 3 Aug 2004 22:41:31 +0000 (22:41 +0000)]
Correct the return type of gtk_tree_model_filter_get_flags(). (#149195,
Tue Aug 3 18:38:40 2004 Matthias Clasen <maclas@gmx.de>
* gtk/gtktreemodelfilter.c: Correct the return type
of gtk_tree_model_filter_get_flags(). (#149195, Morten Welinder)
Matthias Clasen [Tue, 3 Aug 2004 22:19:37 +0000 (22:19 +0000)]
Fix #149191, reported by Morten Welinder:
Tue Aug 3 18:16:55 2004 Matthias Clasen <maclas@gmx.de>
Fix #149191, reported by Morten Welinder:
* gtk/gtkmain.c: Include gtkclipboard.h,
* gtk/gtkwidget.h: Declare _gtk_widget_grab_notify, not
_gtk_widget_emit_grab_notify.
Matthias Clasen [Tue, 3 Aug 2004 18:51:26 +0000 (18:51 +0000)]
Add missing parens. (#149190, Morten Welinder)
Tue Aug 3 14:50:14 2004 Matthias Clasen <maclas@gmx.de>
* gtk/gtkicontheme.c (add_size): Add missing parens.
(#149190, Morten Welinder)
Matthias Clasen [Tue, 3 Aug 2004 18:30:53 +0000 (18:30 +0000)]
Remove accidentally committed debug code.
Tue Aug 3 14:29:49 2004 Matthias Clasen <maclas@gmx.de>
* gtk/gtkcombobox.c (gtk_combo_box_menu_fill): Remove
accidentally committed debug code.
Matthias Clasen [Tue, 3 Aug 2004 05:22:21 +0000 (05:22 +0000)]
Optimize for the case that row_column and col_column are unset. (#148868,
Tue Aug 3 01:19:12 2004 Matthias Clasen <maclas@gmx.de>
* gtk/gtkcombobox.c (gtk_combo_box_relayout_item): Optimize
for the case that row_column and col_column are unset.
(#148868, Lorenzo Gil Sánchez)
Soeren Sandmann [Mon, 2 Aug 2004 20:01:27 +0000 (20:01 +0000)]
New function. Make sure the sync counter is recreated when a window is
Mon Aug 2 21:52:45 2004 Soeren Sandmann <sandmann@daimi.au.dk>
* gdk/x11/gdkwindow-x11.c (ensure_sync_counter): New
function. Make sure the sync counter is recreated when a window is
reparented to become a toplevel. (#148358)
Matthias Clasen [Mon, 2 Aug 2004 19:17:19 +0000 (19:17 +0000)]
Some trees in combo boxes.
2004-08-02 Matthias Clasen <mclasen@redhat.com>
* tests/testcombo.c: Some trees in combo boxes.
Matthias Clasen [Mon, 2 Aug 2004 19:15:05 +0000 (19:15 +0000)]
Rework the combo box to handle tree models. (#139582, Matt Walton)
2004-08-02 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkcombobox.c: Rework the combo box to handle
tree models. (#139582, Matt Walton)
Matthias Clasen [Mon, 2 Aug 2004 19:12:17 +0000 (19:12 +0000)]
Add hover-expand setter and getter.
2004-08-02 Matthias Clasen <mclasen@redhat.com>
* gtk/gtk-sections.txt: Add hover-expand setter and getter.
Matthias Clasen [Mon, 2 Aug 2004 19:11:32 +0000 (19:11 +0000)]
Add a new boolean property ::hover-expand and make the treeview
2004-08-02 Matthias Clasen <mclasen@redhat.com>
* gtk/gtktreeview.h:
* gtk/gtktreeview.c:
* gtk/gtktreeprivate.h: Add a new boolean property
::hover-expand and make the treeview expand/collapse rows
on mouseover if it is set.
Matthias Clasen [Mon, 2 Aug 2004 19:09:15 +0000 (19:09 +0000)]
Remove some erroneous declarations.
2004-08-02 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkiconview.h: Remove some erroneous declarations.
Matthias Clasen [Mon, 2 Aug 2004 19:08:13 +0000 (19:08 +0000)]
Don't crash if the displayed row is gone.
2004-08-02 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkcellview.c (gtk_cell_view_set_cell_data): Don't
crash if the displayed row is gone.
Morten Welinder [Mon, 2 Aug 2004 16:12:10 +0000 (16:12 +0000)]
C99ism.
2004-08-02 Morten Welinder <terra@gnome.org>
* gtk/gtkentry.c (gtk_entry_motion_notify): C99ism.
Matthias Clasen [Mon, 2 Aug 2004 06:09:24 +0000 (06:09 +0000)]
Don't steal the pointer grab from the context menu of the entry. (#148686,
Mon Aug 2 02:07:43 2004 Matthias Clasen <maclas@gmx.de>
* gtk/gtkentrycompletion.c (_gtk_entry_completion_popdown):
Don't steal the pointer grab from the context menu of the
entry. (#148686, Christian Persch)
Matthias Clasen [Mon, 2 Aug 2004 05:34:08 +0000 (05:34 +0000)]
Add a new binding signal ::backspace, bind it to the backspace key, and
Mon Aug 2 01:30:03 2004 Matthias Clasen <maclas@gmx.de>
* gtk/gtktextview.[hc]:
* gtk/gtkentry.[hc]: Add a new binding signal ::backspace,
bind it to the backspace key, and make it pay attention
to the Pango backspace_deletes_character
attribute. (#119891, Noah Levitt, patch by Theppitak
Karoonboonyanan)
Matthias Clasen [Mon, 2 Aug 2004 05:04:33 +0000 (05:04 +0000)]
Add missing error traps. (#149011, Thomas Leonard)
Mon Aug 2 01:02:57 2004 Matthias Clasen <maclas@gmx.de>
* gdk/x11/gdkevents-x11.c (gdk_check_wm_state_changed):
(gdk_check_wm_desktop_changed): Add missing error
traps. (#149011, Thomas Leonard)
Matthias Clasen [Mon, 2 Aug 2004 04:22:37 +0000 (04:22 +0000)]
Add the same warning that the blink_cb() in GtkEntry already has.
Mon Aug 2 00:21:26 2004 Matthias Clasen <maclas@gmx.de>
* gtk/gtktextview.c (blink_cb): Add the same warning
that the blink_cb() in GtkEntry already has. (#148733)
Matthias Clasen [Mon, 2 Aug 2004 04:14:17 +0000 (04:14 +0000)]
Document the xalign property and its getter and setter as 2.4 additions.
Mon Aug 2 00:12:16 2004 Matthias Clasen <maclas@gmx.de>
* gtk/gtkentry.c (gtk_entry_class_init):
(gtk_entry_get_alignment):
(gtk_entry_set_alignment): Document the xalign property
and its getter and setter as 2.4 additions. (#148978,
Axel Simon)
Mon Aug 2 00:11:31 2004 Matthias Clasen <maclas@gmx.de>
* gtk/gtkuimanager.c (gtk_ui_manager_class_init):
* gtk/gtkactiongroup.c (gtk_action_group_class_init): Use
canonical signal names in doc comments, since gtk-doc won't
pick up signal docs with underscores.
Matthias Clasen [Mon, 2 Aug 2004 04:05:34 +0000 (04:05 +0000)]
Fix progressive loading of 8bit pcx files. (#148518, Magnus Bergman)
Sun Aug 1 23:57:06 2004 Matthias Clasen <maclas@gmx.de>
* io-pcx.c (pcx_increment_load_data_1): Fix progressive
loading of 8bit pcx files. (#148518, Magnus Bergman)
Funda Wang [Sun, 1 Aug 2004 18:20:31 +0000 (18:20 +0000)]
Updated Simplified Chinese translation
Matthias Clasen [Sun, 1 Aug 2004 06:24:59 +0000 (06:24 +0000)]
*** empty log message ***
Matthias Clasen [Sun, 1 Aug 2004 05:55:01 +0000 (05:55 +0000)]
2.5.1
Jonathan Blandford [Sun, 1 Aug 2004 03:32:19 +0000 (03:32 +0000)]
New arguments
Thu Jul 29 16:36:42 2004 Jonathan Blandford <jrb@redhat.com>
* gtk/gtktreeprivate.h: New arguments
* gtk/gtktreeview.c:
(gtk_tree_view_class_init): Add key_release callback
(gtk_tree_view_init): Initialize timeout handler
(gtk_tree_view_unrealize): clear timeout if needed
(gtk_tree_view_key_press): Typeahead support
(gtk_tree_view_key_release): Not used yet -- will be needed for
typeahead.
(gtk_tree_view_search_entry_flush_timeout): Remove typeahead entry
in a timeout.
(gtk_tree_view_ensure_interactive_directory):
(gtk_tree_view_real_start_interactive_search):
(gtk_tree_view_search_init):
(gtk_tree_view_start_interactive_search): Typeahead support added.
(gtk_tree_view_search_dialog_hide): Clear timeout and text when we
hide.
Matthias Clasen [Sun, 1 Aug 2004 03:18:05 +0000 (03:18 +0000)]
Updates for 2.5.1.
Matthias Clasen [Sat, 31 Jul 2004 21:21:08 +0000 (21:21 +0000)]
Add some forgotten functions.
Sat Jul 31 17:20:22 2004 Matthias Clasen <maclas@gmx.de>
* gtk/gtk-sections.txt: Add some forgotten functions.
Sat Jul 31 17:18:57 2004 Matthias Clasen <maclas@gmx.de>
* gtk/framebuffer.sgml:
* gtk/windows.sgml:
* gtk/x11.sgml:
* gtk/running.sgml: Reorganize backend-specific cmdline
arguments and environment variables, fill the Windows
sections, add XDG_DATA_HOME, XDG_DATA_DIRS.
Matthias Clasen [Sat, 31 Jul 2004 05:15:32 +0000 (05:15 +0000)]
Use the canonical form of signal names after "notify::". Otherwise, no
Sat Jul 31 01:13:01 2004 Matthias Clasen <maclas@gmx.de>
* gtk/gtkwindow.c:
* gtk/gtkentry.c:
* gtk/gtkaction.c: Use the canonical form of signal names
after "notify::". Otherwise, no notification arrives.
GObject should have a warning for that, really. (#148879,
Lorenzo Gil Sánchez)
Matthias Clasen [Sat, 31 Jul 2004 04:45:09 +0000 (04:45 +0000)]
Don't set both states at once. (#148789, Matthew Garret)
Sat Jul 31 00:42:08 2004 Matthias Clasen <maclas@gmx.de>
* gdk/x11/gdkwindow-x11.c (gdk_window_set_keep_below):
* gdk/x11/gdkwindow-x11.c (gdk_window_set_keep_above): Don't
set both states at once. (#148789, Matthew Garret)
Matthias Clasen [Fri, 30 Jul 2004 22:55:28 +0000 (22:55 +0000)]
*** empty log message ***
Matthias Clasen [Fri, 30 Jul 2004 20:55:17 +0000 (20:55 +0000)]
Change the api for separators to use a separator function instead of a
2004-07-30 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkcombobox.h:
* gtk/gtkcombobox.c: Change the api for separators to use a
separator function instead of a boolean column.
* tests/testcombo.c: Update to match the api change.
Kartik B. Mistry [Fri, 30 Jul 2004 15:38:25 +0000 (15:38 +0000)]
*** empty log message ***
Matthias Clasen [Fri, 30 Jul 2004 06:22:26 +0000 (06:22 +0000)]
Fix the positioning of the popup.
Fri Jul 30 02:21:41 2004 Matthias Clasen <maclas@gmx.de>
* gtk/gtkentrycompletion.c (_gtk_entry_completion_resize_popup):
Fix the positioning of the popup.
Matthias Clasen [Fri, 30 Jul 2004 04:58:52 +0000 (04:58 +0000)]
Implement this in terms of gtk_combo_box_get_active_iter(), instead of
Fri Jul 30 00:56:31 2004 Matthias Clasen <maclas@gmx.de>
* gtk/gtkcomboboxentry.c (gtk_combo_box_entry_active_changed):
Implement this in terms of gtk_combo_box_get_active_iter(),
instead of gtk_combo_box_get_active().
Federico Mena Quintero [Thu, 29 Jul 2004 20:53:52 +0000 (20:53 +0000)]
Add a field for an "add to shortcuts" menu item. (popup_menu_detach_cb):
2004-07-29 Federico Mena Quintero <federico@ximian.com>
* gtk/gtkfilechooserdefault.c (struct _GtkFileChooserDefault): Add
a field for an "add to shortcuts" menu item.
(popup_menu_detach_cb): Clear out the field.
(file_list_build_popup_menu): Only build the menu here.
(file_list_update_popup_menu): Build the menu, then update the
sensitivity of its items.
(file_list_popup_menu): Use file_list_update_popup_menu().
(bookmarks_check_add_sensitivity): Also set the sensitivity of the
popup menu item. Correctly handle the case for a *single* file.
Simplify a bit.
(bookmarks_add_selected_folder): New helper function; code moved
over from add_bookmark_button_clicked_cb().
(add_bookmark_button_clicked_cb): Use the function above.
(selection_check): Rather than returning a boolean value for
emptiness, actually return the number of selected rows. Also,
simplify a bit.
(get_selected_path): New helper function.
Anders Carlsson [Thu, 29 Jul 2004 15:40:35 +0000 (15:40 +0000)]
Add clipboard demo.
2004-07-29 Anders Carlsson <andersca@gnome.org>
* demos/gtk-demo/Makefile.am:
* demos/gtk-demo/clipboard.c: (copy_button_clicked),
(paste_received), (paste_button_clicked), (do_clipboard):
Add clipboard demo.
Federico Mena Quintero [Thu, 29 Jul 2004 01:26:51 +0000 (01:26 +0000)]
Store signal IDs in gulongs, not guints!
2004-07-28 Federico Mena Quintero <federico@ximian.com>
* gtk/gtkfilechooserdefault.c (struct _GtkFileChooserDefault):
Store signal IDs in gulongs, not guints!
(gtk_file_chooser_default_hierarchy_changed): We now monitor the
focus widget on our toplevel to know which widget was last focused
at the time our "should_respond" method gets called.
(shortcuts_activate_selected): New helper function.
(shortcuts_get_selected): New helper function.
(remove_selected_bookmarks): Use shortcuts_get_selected().
(bookmarks_check_remove_sensitivity): Likewise.
(shortcuts_reorder): Likewise.
(shortcuts_activate_iter): Renamed from shortcuts_activate_item().
Activate by iter, not by item number.
(save_folder_combo_changed_cb): Use shortcuts_activate_iter().
(shortcuts_row_activated_cb): Likewise.
(gtk_file_chooser_default_should_respond): If the last focused
widget on the toplevel was the shortcuts list, activate the
selected shortcut.
cinamod [Wed, 28 Jul 2004 16:19:05 +0000 (16:19 +0000)]
don't add tearoffs to GtkComboBoxes
Matthias Clasen [Wed, 28 Jul 2004 16:04:53 +0000 (16:04 +0000)]
Make the fb backend compile against current freetype. (#148558, Nicolas
2004-07-28 Matthias Clasen <mclasen@redhat.com>
* gdk/linux-fb/gdkprivate-fb.h: Make the fb backend compile against
current freetype. (#148558, Nicolas Deves)
Matthias Clasen [Wed, 28 Jul 2004 15:57:07 +0000 (15:57 +0000)]
Replace the EXPANDER_MAX macro by ROW_HEIGHT. (#145528)
2004-07-28 Matthias Clasen <mclasen@redhat.com>
* gtk/gtktreeview.c: Replace the EXPANDER_MAX macro by
ROW_HEIGHT. (#145528)
Matthias Clasen [Wed, 28 Jul 2004 15:30:16 +0000 (15:30 +0000)]
Warning fixes.
2004-07-28 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkuimanager.c: Warning fixes.
Matthias Clasen [Wed, 28 Jul 2004 13:51:48 +0000 (13:51 +0000)]
Fix prototype mismatch. (#148589, Nicolas Deves)
2004-07-28 Matthias Clasen <mclasen@redhat.com>
* gdk/linux-fb/gdkwindow-fb.c (gdk_window_set_background): Fix
prototype mismatch. (#148589, Nicolas Deves)
Anders Carlsson [Tue, 27 Jul 2004 23:19:19 +0000 (23:19 +0000)]
Cast to 32-bit integers when premultiplying, suggested by Keith Packard.
2004-07-28 Anders Carlsson <andersca@gnome.org>
* gdk/x11/gdkdrawable-x11.c (gdk_draw_rectangle_alpha_libgtk_only):
Cast to 32-bit integers when premultiplying, suggested by Keith Packard.
Anders Carlsson [Tue, 27 Jul 2004 21:58:27 +0000 (21:58 +0000)]
Fix ChangeLog
Anders Carlsson [Tue, 27 Jul 2004 21:58:09 +0000 (21:58 +0000)]
Add gdk_draw_rectangle_alpha_libgtk_only which uses XRenderFillRectangle
2004-07-27 Anders Carlsson <andersca@gnome.org>
* demos/gtk-demo/iconview.c: (do_iconview):
* gdk/gdkdrawable.h:
* gdk/linux-fb/gdkdrawable-fb2.c:
(gdk_draw_rectangle_alpha_libgtk_only):
* gdk/win32/gdkdrawable-win32.c:
(gdk_draw_rectangle_alpha_libgtk_only):
* gdk/x11/gdkdrawable-x11.c: (gdk_x11_draw_image),
(get_impl_drawable), (gdk_x11_draw_pixbuf),
(gdk_draw_rectangle_alpha_libgtk_only):
Add gdk_draw_rectangle_alpha_libgtk_only which uses
XRenderFillRectangle on X11. It's stubbed out on the
Win32 and fb backends.
* gtk/gtkiconview.c:
(gtk_icon_view_paint_rubberband):
Use gdk_draw_rectangle_alpha_libgtk_only here.
Anders Carlsson [Tue, 27 Jul 2004 17:28:26 +0000 (17:28 +0000)]
Remove dialog separators, fix text view background setting, use Close
2004-07-27 Anders Carlsson <andersca@gnome.org>
* gtk/gtkaboutdialog.c: (gtk_about_dialog_init),
(text_view_style_set), (add_credits_page),
(display_credits_dialog), (display_license_dialog):
Remove dialog separators, fix text view background setting,
use Close buttons instead of OK buttons.
Matthias Clasen [Tue, 27 Jul 2004 17:00:25 +0000 (17:00 +0000)]
Add a frame around the C-f popup to stop it from merging visually in
2004-07-27 Matthias Clasen <mclasen@redhat.com>
* gtk/gtktreeview.c (gtk_tree_view_ensure_interactive_directory):
Add a frame around the C-f popup to stop it from merging visually
in whatever is underneath.
Matthias Clasen [Tue, 27 Jul 2004 16:42:06 +0000 (16:42 +0000)]
Add gtk_combo_box_get_popup_accessible.
2004-07-27 Matthias Clasen <mclasen@redhat.com>
* gtk/gtk-sections.txt: Add gtk_combo_box_get_popup_accessible.
Matthias Clasen [Tue, 27 Jul 2004 16:37:37 +0000 (16:37 +0000)]
New function necessary to make GtkComboBox accessible. (#132847, Padraig
2004-07-27 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkcombobox.h:
* gtk/gtkcombobox.c (gtk_combo_box_get_popup_accessible): New
function necessary to make GtkComboBox accessible. (#132847,
Padraig O'Briain)
Matthias Clasen [Tue, 27 Jul 2004 06:35:51 +0000 (06:35 +0000)]
Hide parentless windows when disposing them. (#133231, Michael Natterer)
Tue Jul 27 02:34:06 2004 Matthias Clasen <maclas@gmx.de>
* gtk/gtkwidget.c (gtk_widget_dispose): Hide parentless
windows when disposing them. (#133231, Michael Natterer)
Matthias Clasen [Mon, 26 Jul 2004 17:38:56 +0000 (17:38 +0000)]
Expand the documentation for GtkLabel::ellipsize.
2004-07-26 Matthias Clasen <mclasen@redhat.com>
* gtk/gtklabel.c (gtk_label_class_init): Expand the documentation
for GtkLabel::ellipsize.
Matthias Clasen [Mon, 26 Jul 2004 14:47:17 +0000 (14:47 +0000)]
*** empty log message ***
Christian Rose [Mon, 26 Jul 2004 06:02:41 +0000 (06:02 +0000)]
Fix for #148437. Thanks to Robert Ögren for discovering the problem.
2004-07-26 Christian Rose <menthos@menthos.com>
* po/sv.po, po-properties/sv.po: Fix for #148437. Thanks to
Robert Ögren for discovering the problem.
Matthias Clasen [Mon, 26 Jul 2004 04:50:07 +0000 (04:50 +0000)]
Make the GtkComboBox in list mode scroll if the list is too large to fit
Mon Jul 26 00:38:27 2004 Matthias Clasen <maclas@gmx.de>
Make the GtkComboBox in list mode scroll if the list is too
large to fit in the popup. (#135543)
* gtk/gtkcombobox.c (gtk_combo_box_set_popup_widget): Add a
scrolled window to the popup in list mode.
(gtk_combo_box_list_position): Calculate the height of the
popup so that it fits on the screen, set the scrollbar policy
of the scrolled window appropriately.
(gtk_combo_box_popup): Use the height calculated by
gtk_combo_box_list_position().
(gtk_combo_box_remeasure): Don't add unnecessary padding.
(gtk_combo_box_size_request): But add the focus with here.
(gtk_combo_box_list_setup): Connect to enter notify on the
popup window to activate auto scrolling.
(gtk_combo_box_list_enter_notify): Activate auto scrolling.
(gtk_combo_box_list_button_pressed): Setup a timeout for
auto scrolling.
(gtk_combo_box_list_scroll_timeout): Timeout function for
auto scrolling.
(gtk_combo_box_list_auto_scroll): Scroll the list when the
pointer leaves the window.
Matthias Clasen [Sun, 25 Jul 2004 23:53:15 +0000 (23:53 +0000)]
Ignore scroll events from the content of the page. (#148409, Gabriel de
Sun Jul 25 19:51:17 2004 Matthias Clasen <maclas@gmx.de>
* gtk/gtknotebook.c (gtk_notebook_scroll): Ignore scroll
events from the content of the page. (#148409, Gabriel
de Perthuis)
Soeren Sandmann [Sat, 24 Jul 2004 19:42:44 +0000 (19:42 +0000)]
Warn if you try to add a tool item to a toolbar using the deprecated API.
Sat Jul 24 21:38:12 2004 Soeren Sandmann <sandmann@daimi.au.dk>
* gtk/gtktoolbar.c (internal_insert_element): Warn if you try to
add a tool item to a toolbar using the deprecated API.
Matthias Clasen [Fri, 23 Jul 2004 17:06:44 +0000 (17:06 +0000)]
Create the change to initialize target_list to an empty list instead of
Fri Jul 23 13:04:10 2004 Matthias Clasen <maclas@gmx.de>
* gtk/gtkdnd.c (gtk_drag_dest_set): Create the change to
initialize target_list to an empty list instead of NULL,
since it broke tree dnd. (#148215, Ernst Persson)
* gtk/gtkdnd.c (gtk_drag_dest_add_text_targets):
* gtk/gtkdnd.c (gtk_drag_source_add_text_targets): Instead
handle target list being NULL here.
Dafydd Harries [Fri, 23 Jul 2004 15:37:27 +0000 (15:37 +0000)]
Improve various translatable messages.
Matthias Clasen [Fri, 23 Jul 2004 15:12:11 +0000 (15:12 +0000)]
align the entry in the same way as the cell. (#136749)
Fri Jul 23 11:11:10 2004 Matthias Clasen <maclas@gmx.de>
* gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_start_editing):
align the entry in the same way as the cell. (#136749)
Matthias Clasen [Fri, 23 Jul 2004 15:01:50 +0000 (15:01 +0000)]
Don't iterate too far up. (#147965, Olivier Sessink)
Fri Jul 23 11:00:17 2004 Matthias Clasen <maclas@gmx.de>
* gtk/gtktextbtree.c (_gtk_text_line_previous_could_contain_tag):
Don't iterate too far up. (#147965, Olivier Sessink)
Matthias Clasen [Fri, 23 Jul 2004 14:45:50 +0000 (14:45 +0000)]
Remove unnecessary checks. (#148175, Morten Welinder)
Fri Jul 23 10:28:43 2004 Matthias Clasen <maclas@gmx.de>
* gtk/gtktreeview.c (gtk_tree_view_finalize):
* gtk/gtkradioaction.c (gtk_radio_action_finalize):
* gtk/gtkfontsel.c (gtk_font_selection_finalize):
* gtk/gtkcellview.c (gtk_cell_view_finalize):
* gtk/gtkcalendar.c (gtk_calendar_finalize):
* gtk/gtkactiongroup.c (gtk_action_group_finalize): Remove
unnecessary checks. (#148175, Morten Welinder)
Gustavo Maciel Dias Vieira [Thu, 22 Jul 2004 15:07:26 +0000 (15:07 +0000)]
Updated Brazilian Portuguese translation done by Afonso Celso Medina
2004-07-22 Gustavo Maciel Dias Vieira <gustavo@sagui.org>
* pt_BR.po: Updated Brazilian Portuguese translation done by
Afonso Celso Medina <afmedina@uol.com.br>.
Matthias Clasen [Thu, 22 Jul 2004 14:55:53 +0000 (14:55 +0000)]
Forgotten file.
Amanpreet Singh Alam [Thu, 22 Jul 2004 08:34:31 +0000 (08:34 +0000)]
up
Matthias Clasen [Thu, 22 Jul 2004 05:45:19 +0000 (05:45 +0000)]
Add a new :ellipsize property which controls ellipsization of the rendered
Thu Jul 22 01:42:16 2004 Matthias Clasen <maclas@gmx.de>
* gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_class_init):
Add a new :ellipsize property which controls ellipsization of the
rendered text. (#144835, Vincent Untz, patch by Jonathan Blandford
and Anders Carlsson
* gtk/gtkfilechooserdefault.c (create_file_list): Use ellipsization
for the name column.
Matthias Clasen [Thu, 22 Jul 2004 05:27:18 +0000 (05:27 +0000)]
Add additional accessability relations. (#141804, Padraig O'Briain)
Thu Jul 22 01:21:28 2004 Matthias Clasen <maclas@gmx.de>
* gtk/gtkfontsel.c (gtk_font_selection_init): Add additional
accessability relations. (#141804, Padraig O'Briain)
Matthias Clasen [Thu, 22 Jul 2004 05:16:58 +0000 (05:16 +0000)]
Avoid compiler warnings.
Dmitry Mastrukov [Thu, 22 Jul 2004 05:13:12 +0000 (05:13 +0000)]
ru.po: Updated Russian translation from Russian team <gnome-cyr@gnome.org>.
Matthias Clasen [Thu, 22 Jul 2004 05:06:39 +0000 (05:06 +0000)]
Require Pango 1.5.1 (for ellipsisation).
Thu Jul 22 01:05:16 2004 Matthias Clasen <maclas@gmx.de>
* configure.in: Require Pango 1.5.1 (for ellipsisation).
* gtk/gtklabel.h:
* gtk/gtklabel.c (gtk_label_class_init): Add a new :ellipsise
property which controls ellipsisation of the label. (#125250,
Tim Van Wassenhove, patch by James M. Cape)
* tests/testellipsise.c: Simple test for ellipsisation.
Matthias Clasen [Thu, 22 Jul 2004 03:00:48 +0000 (03:00 +0000)]
Don't leak the list store. (#148135, Crispin Flowerday)
Wed Jul 21 22:54:33 2004 Matthias Clasen <maclas@gmx.de>
* gtk/gtkcomboboxentry.c (gtk_combo_box_entry_new_text):
Don't leak the list store. (#148135, Crispin Flowerday)
Matthias Clasen [Thu, 22 Jul 2004 02:48:11 +0000 (02:48 +0000)]
Don't leak the list store. (#148134, Crispin Flowerday)
* gtk/gtkcombobox.c (gtk_combo_box_new_text): Don't leak the
list store. (#148134, Crispin Flowerday)
Matthias Clasen [Thu, 22 Jul 2004 02:36:54 +0000 (02:36 +0000)]
Don't leak the menu. (#148110, Tommi Komulainen)
Wed Jul 21 22:35:47 2004 Matthias Clasen <maclas@gmx.de>
* gtk/gtkcellview.c (gtk_cell_view_finalize): Don't leak the
menu. (#148110, Tommi Komulainen)
Matthias Clasen [Thu, 22 Jul 2004 02:26:07 +0000 (02:26 +0000)]
Don't leak tree model and tree row reference. (#148125, Crispin Flowerday)
Wed Jul 21 22:24:10 2004 Matthias Clasen <maclas@gmx.de>
* gtk/gtkcellview.c (gtk_cell_view_finalize): Don't leak
tree model and tree row reference. (#148125, Crispin Flowerday)
Matthias Clasen [Thu, 22 Jul 2004 02:19:19 +0000 (02:19 +0000)]
Don't leak models. (#148128, Tommi Komulainen)
Wed Jul 21 22:17:06 2004 Matthias Clasen <maclas@gmx.de>
* tests/testcombo.c (main): Don't leak models. (#148128,
Tommi Komulainen)
Matthias Clasen [Thu, 22 Jul 2004 01:28:33 +0000 (01:28 +0000)]
Don't leak the adjustments. (#148089, Tommi Komulainen)
Wed Jul 21 21:26:08 2004 Matthias Clasen <maclas@gmx.de>
* gtk/gtkviewport.c (viewport_set_adjustment): Don't leak
the adjustments. (#148089, Tommi Komulainen)
Matthias Clasen [Thu, 22 Jul 2004 01:22:54 +0000 (01:22 +0000)]
Don't leak the adjustments. (#148073, Tommi Komulainen)
Wed Jul 21 21:20:21 2004 Matthias Clasen <maclas@gmx.de>
* gtk/gtktreeview.c (gtk_tree_view_destroy): Don't leak
the adjustments. (#148073, Tommi Komulainen)
Matthias Clasen [Thu, 22 Jul 2004 01:08:53 +0000 (01:08 +0000)]
Don't leak the arrow. (#148064, Tommi Komulainen)
Wed Jul 21 21:04:50 2004 Matthias Clasen <maclas@gmx.de>
* gtk/gtktoolbar.c (gtk_toolbar_finalize): Don't leak the
arrow. (#148064, Tommi Komulainen)
Christian Rose [Wed, 21 Jul 2004 21:29:00 +0000 (21:29 +0000)]
Updated Uzbek translation by Mashrab Kuvatov
2004-07-21 Christian Rose <menthos@menthos.com>
* po/uz.po, po-properties/uz.po: Updated Uzbek translation
by Mashrab Kuvatov <kmashrab@sat.physik.uni-bremen.de>.
Matthias Clasen [Wed, 21 Jul 2004 16:53:55 +0000 (16:53 +0000)]
Use the new text target functionality in GtkTargetList instead of
2004-07-21 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkcalendar.c: Use the new text target functionality
in GtkTargetList instead of hardcoding a subset of text targets.
Guntupalli Karunakar [Wed, 21 Jul 2004 08:58:49 +0000 (08:58 +0000)]
updated hindi translation